package com.sanjiahantang.youjiaclient.module.cases.models;

import android.content.Context;

import com.sanjiahantang.youjiaclient.base.BaseBean;
import com.sanjiahantang.youjiaclient.base.CallBack;
import com.sanjiahantang.youjiaclient.module.cases.beans.CaseBean;
import com.sanjiahantang.youjiaclient.module.cases.beans.DesignerBean;
import com.sanjiahantang.youjiaclient.module.common.beans.ConditionBean;

import java.util.Map;


/**
 * Created by zy on 2017/9/5.
 */

public interface ICaseModel {
    void loadFavoriteCase(Context context, Map<String, Object> param, CallBack<CaseBean> callBack);

    void loadSelectors(Context context, Map<String,String> params,CallBack<ConditionBean> callBack,Object tag);

    void loadCaseByCondition(Context context, Map<String,Object> params, CallBack<CaseBean> caseCallBack);

    void loadCaseById(Context context, Map<String, Object> param, CallBack<CaseBean.DetailBean> loadCaseByIdCallBack);

    void loadDesignerInfo(Context context, Map<String, String> param, CallBack<DesignerBean> callBack);

    void addCollectInfo(Context context, Map<String, Object> param, CallBack<BaseBean> callBack);

    void deleteCollectInfo(Context context, Map<String, Object> param, CallBack<BaseBean> callBack);

    void saveSelBidRequireInfoForCustomer(Context context, Map<String, String> param, CallBack<BaseBean> callBack);
}
